﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ClinicaSanPablo
{
    public partial class MasterClinicaSanPablo : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        ValidarSessiones();

        }
        private void ValidarSessiones()
        {
            if (Session["id_usuario"] == null)
            {
                Response.Redirect("login/login.aspx");
            }
        }



    }
}